<template>
    <div>
        <div v-if="$route.query.orderId">
            <Detail></Detail></div>
        <div v-else>
            <AllOrder></AllOrder>
        </div>
        
        
    </div>
</template>

<script setup lang="ts">
// @ts-ignore
import Detail from './detail/index.vue'
// @ts-ignore
import AllOrder from './allorder/index.vue'
</script>

<style scoped lang="scss">

</style>